<div class="boxid">
    <div class="tieude">
    Mã ID: <?php  echo $_SESSION["userlogin"];
            include "../controller/load_hinhanh.php";
            ?>       
    </div>
    
    <div class="data">
        <div class="hinhnv"><img src="../images/hinhnv/<?php echo $hinhnhanvien; ?>" alt="Chưa cập nhật hình ảnh" width="93px" height="116px" /></div>
        <div class="info">
            <table>
                <tr><td style="background: silver; color: #fff;">Chức danh</td></tr>
                <tr><td style="color: blue;" align="center"><?php  echo $_SESSION["vaitro"];?></td></tr>
                <tr><td style="background: silver; color: #fff;">Đề án tham gia</td></tr>
                <tr><td style="color: blue;" align="center">
                <?php
                $user = $_SESSION["userlogin"];
                $sql_kiemtra = "select * from phancong where id_nhanvien = '$user'";
                $kiemtrapc = executeQuery($sql_kiemtra);
                $soda=mysql_num_rows($kiemtrapc);
                echo $soda;

                ?>
                </td></tr>
            </table>
            
        </div>
        <div class="clear" style="padding-left: 15px;padding-right: 15px; background: blue; width: 170px; color: #85E9FA;"><script type="text/javascript">
function GetClock(){
d = new Date();
nday   = d.getDay();
nmonth = d.getMonth();
ndate  = d.getDate();
nyear = d.getYear();
nhour  = d.getHours();
nmin   = d.getMinutes();
nsec   = d.getSeconds();

if(nyear<1000) nyear=nyear+1900;

     if(nhour ==  0) {ap = " am";nhour = 12;} 
else if(nhour <= 11) {ap = " am";} 
else if(nhour == 12) {ap = " pm";} 
else if(nhour >= 13) {ap = " pm";nhour -= 12;}

if(nmin <= 9) {nmin = "0" +nmin;}
if(nsec <= 9) {nsec = "0" +nsec;}


document.getElementById('clockbox').innerHTML=""+nhour+":"+nmin+":"+nsec+ap+" - "+ndate+"/"+(nmonth+1)+"/"+nyear+"";
setTimeout("GetClock()", 1000);
}
window.onload=GetClock;
</script> <div id="clockbox"></div></div>
    </div>
</div>